<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>ClearConsole</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">ClearConsole()</font></b></p>
<p><b>语法</b></p><blockquote>
<font color="#006666"><b>ClearConsole</b></font>()</blockquote>

<b>概要</b><br><blockquote>

使用当前背景色清除整个控制台内容。使用<a href="consolecolor.html">ConsoleColor()</a>来设置背景色。控制台必使用图形模式，请参考 <a href="enablegraphicalconsole.html">EnableGraphicalConsole()</a>. 

</blockquote><p><b>参数</b></p><blockquote>
无.

</blockquote><p><b>返回值</b></p><blockquote>
无.


</blockquote><p><b>示例</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#006666">If</font></b> <font color="#006666">OpenConsole</font>()
<font color="#006666">    EnableGraphicalConsole</font>(1)
  
<font color="#006666">    PrintN</font>("You will never see me")
<font color="#006666">    ClearConsole</font>()
    
<font color="#006666">    PrintN</font>("Press return to exit")
<font color="#006666">    Input</font>()
  <b><font color="#006666">EndIf</font></b>
</font></pre>

</blockquote><p><b>参阅</b></p><blockquote>

<a href="enablegraphicalconsole.html">EnableGraphicalConsole()</a>, <a href="consolecolor.html">ConsoleColor()</a> 

</Blockquote><p><b>已支持操作系统 </b><Blockquote>Windows</Blockquote></p><center><a href=index.html>Console 索引</a> - <a href=closeconsole.html>CloseConsole()</a> -&gt;

</body></html>